package org.vehicle.dao;

import java.util.List;
import java.util.Map;

import org.vehicle.dao.base.BaseDaoMapper;
import org.vehicle.entity.CheckRecord;


public interface CheckRecordMapper extends BaseDaoMapper<CheckRecord, Long> {
	/**
     * 通过车牌号查询车辆检查历史
     * @param map
     * @return
     */
	public CheckRecord findCheckRecordByVehicleLicense(Map<String, Object> map);
	/**
     * 通过身份证查询人员检查历史
     * @param map
     * @return
     */
	public CheckRecord findCheckRecordByCheckCode(Map<String, Object> map);
	/**
     * 通过车牌号查询人员检查历史集合
     * @param map
     * @return
     */
	public List<CheckRecord> findCheckRecordListByVehicleLicense(Map<String, Object> map);
	/**
	 * 通过车牌号码删除检查历史
	 * @param map
	 */
	public void deleteByVehicleLicense(Map<String, Object> map);
	
}